package com.ggg.clothesshop.model;

public class Address {
    private Integer addressid;

    private Integer userid;

    private String receiver;

    private String phonenum;

    private String addressvalue;

    public Integer getAddressid() {
        return addressid;
    }

    public void setAddressid(Integer addressid) {
        this.addressid = addressid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver == null ? null : receiver.trim();
    }

    public String getPhonenum() {
        return phonenum;
    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum == null ? null : phonenum.trim();
    }

    public String getAddressvalue() {
        return addressvalue;
    }

    public void setAddressvalue(String addressvalue) {
        this.addressvalue = addressvalue == null ? null : addressvalue.trim();
    }

    @Override
    public String toString() {
        return "Address{" +
                "addressid=" + addressid +
                ", userid=" + userid +
                ", receiver='" + receiver + '\'' +
                ", phonenum='" + phonenum + '\'' +
                ", addressvalue='" + addressvalue + '\'' +
                '}';
    }
}